AUTOMAKE_OPTIONS = foreign subdir-objects

TESTS = 
bin_PROGRAMS = mcnp2cad

AM_CPPFLAGS += -DSRCDIR=@srcdir@ \
           -I$(top_srcdir)/itaps \
           -I$(top_srcdir)/src/util \
           -I$(top_srcdir)/src/util/cgm \
           -I$(top_builddir)/src/util/cgm \
           -I$(top_builddir)/itaps \
           -I$(top_srcdir)/src/init \
           -I$(top_builddir)/src/init \
           -I$(top_builddir)/src \
           -I$(top_srcdir)/src/geom/cgm \
           -I$(top_builddir)/src/geom/cgm \
           -I$(top_srcdir)/src/geom/virtual \
           -I$(top_srcdir)/src/geom/facet \
           -I$(top_srcdir)/src/geom/Cholla \
           -I$(srcdir)

if build_OCC
AM_CPPFLAGS += $(HAVE_OCC_DEF) -I$(top_srcdir)/geom/OCC \
							 $(OCC_INC_FLAG)
endif

LDADD = $(top_builddir)/itaps/libiGeom.la \
				$(top_builddir)/src/libcgm.la \
				$(top_builddir)/src/geom/Cholla/libcgm_cholla.la \
				$(top_builddir)/src/util/libcgm_util.la \
				$(top_builddir)/src/geom/virtual/libcgm_virtual.la \
				$(CGM_EXT_LIBS)

check_PROGRAMS =

mcnp2cad_SOURCES = mcnp2cad.cpp MCNPInput.hpp geometry.cpp geometry.hpp MCNPInput.cpp volumes.hpp volumes.cpp dataref.hpp options.hpp version.hpp
mcnp2cad_CPPFLAGS = $(CPPFLAGS) $(AM_CPPFLAGS)
if build_OCC
mcnp2cad_CPPFLAGS += -DFORCE_OCC
endif

EXTRA_DIST =

CLEANFILES =
DISTCLEANFILES =
